package com.pzc.service.impl;

import com.pzc.entity.User;
import com.pzc.mapper.UserMapper;
import com.pzc.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserMapper userMapper;
    @Override
    public User queryUserByCode(String userCode) {
        return userMapper.findUserByCode(userCode);
    }

//    public
}
